package order

import (
    "time"
)

type Order struct {
    ID        string      `json:"id" gorm:"primaryKey"`
    UserID    string      `json:"user_id"`
    Status    OrderStatus `json:"status"`
    Total     float64     `json:"total"`
    CreatedAt time.Time   `json:"created_at" gorm:"autoCreateTime"`
    UpdatedAt time.Time   `json:"updated_at" gorm:"autoUpdateTime"`
}